package li.kaeppe.travel.tracker.web.service;

import java.io.IOException;
import java.io.InputStream;
import java.util.Date;

import li.kaeppe.travel.tracker.parser.NoTimeStampException;
import li.kaeppe.travel.tracker.parser.ParseException;

import org.springframework.oxm.XmlMappingException;

public interface WayPointUploadService {

	public void uploadWayPoints(InputStream stream, long tripId) throws XmlMappingException, ParseException, IOException, NoTimeStampException;
	
	public void uploadWayPoints(InputStream stream, long tripId, Date startDate) throws XmlMappingException, ParseException, IOException, NoTimeStampException;
	
	public void updateCalculatedTripData(long tripId);
}
